package com.example.demo.day.config.learn.design.adapter.p2;

import com.example.demo.day.config.learn.design.adapter.p1.Adaptee;
import com.example.demo.day.config.learn.design.adapter.p1.ClassAdapter;
import com.example.demo.day.config.learn.design.adapter.p1.Target;

public class ObjectAdapterTest {

    public static void main(String[] args) {
        System.out.println("对象适配器模式测试");
        Adaptee adaptee = new Adaptee();
        Target target = new ObjectAdapter(adaptee);
        target.request();
    }
}
